package posti.test.swf.web.action;

import posti.test.swf.dao.Reference;

public interface BeanMapper {
	public Reference toDomainObjectReference(Object dto);
	public void synchronize(String contextId, Object domain, Object dto);
	public Object newDomainObject(String contextId, Object dto);
//	public Object toDomainObject(Object dto);
//	public Object toDomainObject(String mappingName, Object dto);
//	public Object toDTO(Object object);
	public Object toDTO(String mappingName, Object object);
}
